package com.vmj.test.example;

/**
 * Created by yangshoujun on 2017/9/16 下午1:14.
 */
public class GetClass {

    public static void main(String[] args) {
        Class clazz = long.class;
        System.out.println(clazz.getName());
        clazz = int.class;
        System.out.println(clazz.getName());
        clazz = int[].class;
        System.out.println(clazz.getName());
        clazz = boolean[].class;
        System.out.println(clazz.getName());
        clazz = long[].class;
        System.out.println(clazz.getName());
        clazz = Object.class;
        System.out.println(clazz.getName());
    }
}
